//入口文件

import React from 'react'
import { Link } from "react-router-dom";

class Home extends React.Component {
    render() {
        return (
            <div>
                <ul>
                    <li>
                        <Link to="/main">Home1111</Link>
                    </li>
                    <li>
                        <Link to="/about">About222</Link>
                    </li>
                    <li>
                        <Link to="/topics">Topics333</Link>
                    </li>
                </ul>
                <hr />
                {this.props.children}
            </div>       
        )
    }
}


export default Home